package cc.greencat.gcmall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单操作历史记录
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:56:27
 */
@TableName("order_operate_history")
public class OrderOperateHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 订单id
	 */
	private Long orderId;
	/**
	 * 操作人[用户；系统；后台管理员]
	 */
	private String operateMan;
	/**
	 * 操作时间
	 */
	private Date createTime;
	/**
	 * 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
	 */
	private Integer orderStatus;
	/**
	 * 备注
	 */
	private String note;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set 订单id
	 */
    public void setOrderId(Long orderId){
        this.orderId = orderId;
    }
    /**
	 * get 订单id
	 */
    public Long getOrderId(){
        return this.orderId;
    }
	/**
	 * set 操作人[用户；系统；后台管理员]
	 */
    public void setOperateMan(String operateMan){
        this.operateMan = operateMan;
    }
    /**
	 * get 操作人[用户；系统；后台管理员]
	 */
    public String getOperateMan(){
        return this.operateMan;
    }
	/**
	 * set 操作时间
	 */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**
	 * get 操作时间
	 */
    public Date getCreateTime(){
        return this.createTime;
    }
	/**
	 * set 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
	 */
    public void setOrderStatus(Integer orderStatus){
        this.orderStatus = orderStatus;
    }
    /**
	 * get 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
	 */
    public Integer getOrderStatus(){
        return this.orderStatus;
    }
	/**
	 * set 备注
	 */
    public void setNote(String note){
        this.note = note;
    }
    /**
	 * get 备注
	 */
    public String getNote(){
        return this.note;
    }

}
